<div class="col-md-12">
    <div class="card card-primary">
        <div class="card-header">
            <h3 class="card-title">轮播图片设置</h3></div>
        <!-- /.card-header -->
        <!-- form start -->
        <form role="form" action="/index.php/back/slide-edit" method="post" enctype="multipart/form-data">

            <div class="card-body">
                <div class="attachment-block clearfix">
                    <img class="attachment-img" src="<?=$list['slide_1']?>" alt="Attachment Image">
                    <div class="form-group">
<!--                        <label for="exampleInputFile">轮播图-1</label>-->
                        <div class="input-group">
                            <div class="custom-file">
                                <input type="file" class="custom-file-input" id="slide_1" name="Upload[slide_1]" onchange="file_chage(this)">
                                <label class="custom-file-label" for="slide_1">如需修改请选择新图片作为 轮播图-1</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="attachment-block clearfix">
                    <img class="attachment-img" src="<?=$list['slide_2']?>" alt="Attachment Image">
                    <div class="form-group">
                        <!--                        <label for="exampleInputFile">轮播图-1</label>-->
                        <div class="input-group">
                            <div class="custom-file">
                                <input type="file" class="custom-file-input" id="slide_2" name="Upload[slide_2]" onchange="file_chage(this)">
                                <label class="custom-file-label" for="slide_2">如需修改请选择新图片作为 轮播图-2</label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="attachment-block clearfix">
                    <img class="attachment-img" src="<?=$list['slide_3']?>" alt="Attachment Image">
                    <div class="form-group">
                        <!--                        <label for="exampleInputFile">轮播图-1</label>-->
                        <div class="input-group">
                            <div class="custom-file">
                                <input type="file" class="custom-file-input" id="slide_3" name="Upload[slide_3]" onchange="file_chage(this)">
                                <label class="custom-file-label" for="slide_3">如需修改请选择新图片作为 轮播图-3</label>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <!-- /.card-body -->
            <div class="card-footer">
                <button type="submit" class="btn btn-primary">确认修改</button>
            </div>
        </form>
    </div>
</div>


